package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.master.EntityPayChannel;
import com.ocom.common.request.web.DelPayChannelRequest;
import com.ocom.common.request.web.EditPayChannelRequest;
import com.ocom.common.request.web.GetPayChannelRequest;
import com.ocom.common.request.web.SavePayChannelRequest;
import com.ocom.common.resp.Result;

import java.util.List;

//消费通道参数
public interface PayChannelService extends IService<EntityPayChannel> {

	Result getPayChannelList(GetPayChannelRequest request);

	EntityPayChannel addPageChannel(SavePayChannelRequest request);

	EntityPayChannel editPayChannel(EditPayChannelRequest request);

	boolean delPageChannel(DelPayChannelRequest request);

	@Deprecated
	EntityPayChannel getPayTip(Integer payWay);

	EntityPayChannel getPayTipByCode(Integer payWay);


	List<EntityPayChannel> payList();
}
